#pragma once
#include "StdAfx.h"

class GameBase
{
public:
	GameBase();
	VOID	EventReceiver(GameBase* pReceiver);
	GameBase*				  m_pReceiver;

	static LPD3DXSPRITE		  pSprite;
	static LPDIRECT3DDEVICE9  pd3dDevice;

protected:
	VOID	Event(UINT uMsg, WPARAM wParam=NULL, LPARAM lParam=NULL);
	virtual VOID OnEvent(GameBase* pObj, UINT uMsg, WPARAM wParam, LPARAM lParam);
};